Skip to content

staking-async runtime: extended duration of the signed phase#8870

Merged
sigurpol merged 1 commit intomasterfrom
sigurpol/staking_async_extend_signed_phase
Jun 17, 2025
Merged

staking-async runtime: extended duration of the signed phase#8870
sigurpol merged 1 commit intomasterfrom
sigurpol/staking_async_extend_signed_phase

Conversation

@sigurpol
Copy link
Copy Markdown
Contributor

@sigurpol sigurpol commented Jun 17, 2025

For the staking-async test runtime, we extend the duration of the signed phase from 2 to 4 minutes, in order to give enough time to the staking miner to mine, submit the score, verify it's on chain and then submit all pages during the signed phase.

While testing on CI / locally for a 32-page solution, the miner ends up submitting pages pretty close to the end of the signed phase itself.

Whereas this is a valuable scenario to test to prove miner's robustness, in the main happy path and while testing locally, we want the miner by default to have enough time to submit the whole solution and to be able to handle a re-tx if one/N pages fail to be submitted still within the same Signed phase cycle.

For the staking-async test runtime, extended the duration of the signed
phase from 2 to 4 minutes, in order to give enough time to the staking
miner to mine, submit the score and all pages during the signed phase
itself. While testing on CI / locally for a 32-page solution, the miner
ends up submitting pages pretty close to the end of the signed phase
itself.

Whereas this is a valuable scenario to test to prove miner's robustness,
in the main happy path we want the miner to have enough time to submit
the whole solution and to be able to handle a re-tx if one/N pages fail
to be submitted still within the same Signed phase cycle.
@sigurpol sigurpol requested a review from a team as a code owner June 17, 2025 08:37
@sigurpol sigurpol added the R0-no-crate-publish-required The change does not require any crates to be re-published. label Jun 17, 2025
@sigurpol sigurpol requested review from a team, kianenigma and seadanda and removed request for a team June 17, 2025 08:37
@sigurpol sigurpol added this pull request to the merge queue Jun 17, 2025
Merged via the queue into master with commit 509637a Jun 17, 2025
266 of 319 checks passed
@sigurpol sigurpol deleted the sigurpol/staking_async_extend_signed_phase branch June 17, 2025 10:25
alvicsam pushed a commit that referenced this pull request Oct 17, 2025
For the staking-async test runtime, we extend the duration of the signed
phase from 2 to 4 minutes, in order to give enough time to the staking
miner to mine, submit the score, verify it's on chain and then submit
all pages during the signed phase.

While testing on CI / locally for a 32-page solution, the miner ends up
submitting pages pretty close to the end of the signed phase itself.

Whereas this is a valuable scenario to test to prove miner's robustness,
in the main happy path and while testing locally, we want the miner by
default to have enough time to submit the whole solution and to be able
to handle a re-tx if one/N pages fail to be submitted still within the
same Signed phase cycle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants